﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <%: Html.ValidationSummary("Неверные параметры ")%>

    <%using (Html.BeginForm())
      { %>

    <p>
        <label for="themes">Темы</label>
        <%: Html.DropDownList("themes", (IEnumerable<SelectListItem>)ViewBag.Themes)%>

        <input type="submit" value="Сохранить" onclick="return confirm('Сохранить изменения?');" />
    </p>
    <%} %>
</asp:Content>
